package org.loong.crypto.service.core.provider;

import java.util.Set;

import org.loong.crypto.core.algorithm.KeyAlgorithm;
import org.loong.crypto.service.core.CryptoContextAware;

/**
 * KeyGenerator Provider.
 */
public interface KeyGeneratorProvider extends CryptoProvider, CryptoContextAware {

    /**
     * Returns the names of the supported Key algorithms by the provider instance.
     *
     * @return the supported Key algorithms, empty set if none.
     */
    Set<KeyAlgorithm> supportedKeyAlgorithms();
}
